package com.feiyun.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@ApiModel(value = "用户登录表", description = "记录用户手机号")
@TableName("wx_user_login")
public class WxUserLogin {

    @ApiModelProperty("用户唯一ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("'用户绑定手机号'")
    @TableField(value = "phone_Number")
    private String phoneNumber;

    @ApiModelProperty("''没有区号的手机号''")
    @TableField(value = "pure_phone_Number")
    private String purePhoneNumber;

    @ApiModelProperty("区号")
    @TableField(value = "country_code")
    private String countryCode;

    @ApiModelProperty("水印")
    @TableField(value = "water_mark")
    private String waterMark;
    @ApiModelProperty("''创建时间''")
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

}
